home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / pascal / bigchar.com / BIGCHAR.DOC < prev    next >
Encoding:
Text File  |  1989-03-19  |  2.1 KB  |  52 lines

  1. BigChar.TPU is (c) 1989 by Brian F. Swisher, all rights reserved.
  2.  
  3. This Turbo Pascal 4+ unit is being distributed under the ShareWare concept.
  4. I encourage any of you to post it on any and all BBSs, so long as this
  5. message accompanies it.  It may not be distributed for resale.
  6.  
  7. If you have found BigChar to be useful, I would be ecstatic if you would send
  8. $5 to:
  9.                             Brian F. Swisher
  10.                             1134 N. Lima St.
  11.                             Burbank CA 91505
  12.  
  13. Comments and questions will also be greatly appreciated.  If you enclose a
  14. SASE, I'll even give you answers.
  15.  
  16.  
  17. BigChar is a little utility for writing large block letters on the title
  18. pages of your programs.  It saves time having to program in ascii #219s
  19. ( or whatever you use to form your characters ), and it keeps you from
  20. having to call up the graphics unit and drivers, saving memory. The letters
  21. A to Z are included, as well as the numbers 0 to 9.  The characters are
  22. mostly 5 x 5, with a few exceptions:  'I' and '1' are 3 x 5,  'M', 'N',
  23. and 'W' are 7 x 5, and 'Q' is 6 x 5. BigChar also includes a 'clrscr' after 
  24. its implementation section, so your program will start by executing a 'clrscr' 
  25. automatically.
  26.  
  27. BigChar can be used in one of two ways.  The simpler way is to use the
  28. WriteBig procedure.  Its syntax is:
  29.  
  30.                 WriteBig( x, y : integer;  s : string[12] );
  31.  
  32. The x and y variables denote the top left corner of the string to be written.
  33. WriteBig will write the string for you, taking into account spaces between
  34. the letters, and blank spaces in the string.  When you use multiple WriteBigs
  35. on the same page, be sure to remember that the characters are 5 spaces high
  36. so you can allow enough room between lines.
  37.  
  38. The other way to use BigChar is to write characters individually.  You will
  39. use the procedures BigA..BigZ and Big0..Big9.  The syntax for these is:
  40.  
  41.                        BigA( x, y : integer );
  42.  
  43. I used BigA as an example, but the syntax is the same for all.  Once again,
  44. x and y denote the top left corner of the character.
  45.  
  46. I hope you find this unit useful in your own programming endeavors.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.